package com.springNetwork.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author chenming
 * @description
 * @create: 2022-10-24
 */
@RestController
public class TestController {
    @GetMapping("/get")
    public String get() throws Exception {
        try {
            return "11111111";
        }catch (Exception e){
            e.printStackTrace();
            throw new Exception("wefawca");
        }
    }
}
